package org.bright.service;

import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.bright.entity.User;

import java.util.List;

public interface UserService {

    List<User> getUsers(String name,Integer age);
    int deleteById(int id);
    int insert(User user);
    int updateUser(User user);

    PageInfo<User> getPage(String name,Integer age,Integer pageNum);
}
